.div1{
    width: 100px;
    height: 100px;
    float: left;
    border: 1px solid red;
    margin-right: 10px;
    text-align: center;
    line-height: 100px;
}